package com.sugar.follow.up.module.business.util;

import com.sugar.follow.up.framework.security.core.util.SecurityFrameworkUtils;

import java.util.Objects;

public class AdminUserUtil {

    public static Long isSuperAdmin(){
        Long adminUserId = SecurityFrameworkUtils.getLoginUserId();
        if (Objects.nonNull(adminUserId) && adminUserId.equals(1L))
            return null;

        return adminUserId;
    }
}
